package com.kaishengit.service;

import java.util.List;

import com.kaishengit.dao.IdeaCommentDao;
import com.kaishengit.entity.IdeaComment;

public class IdeaCommentService {
	IdeaCommentDao dao=new IdeaCommentDao();
	public boolean save(IdeaComment i){
		return dao.save(i);
	}
	public List<IdeaComment> findBYId(String id){
		return dao.findByIdeaid(id);
	}
	public boolean delByIdeaid(String id) {
		return dao.delByIdeaid(id);
	}
}
